import { createRouter, createWebHashHistory } from "vue-router";
import type { RouteRecordRaw } from "vue-router";
import basicRoute from "@/router/src/basic";

const routes: Array<RouteRecordRaw> = basicRoute([]);

const router = createRouter({
    history: createWebHashHistory(),
    routes,
    scrollBehavior() {
        return { top: 0 }
    }
});

export default router;
